<?php
require_once('admin/config.php');
$conn = mysql_connect($cfg_dbhost,$cfg_dbuser,$cfg_dbpwd);
mysql_select_db($cfg_dbname,$conn);
$sqls="select * from ph_tdk where 1=1";
$result=mysql_query($sqls);
$row=mysql_fetch_array($result);
?> 
<!DOCTYPE html>
<html class="wide wow-animation" lang="en">
<head>
    <title><?php echo $row["sitename"];?>-Login</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <meta name="msapplication-TileColor" content="#ffffff">
    <meta name="msapplication-TileImage" content="img/ms-icon-144x144.png">
    <meta name="theme-color" content="#ffffff">

    <link rel="stylesheet" type="text/css" href="<?php if(!empty($row["fontlink"])){echo '//fonts.googleapis.com/css?family='.$row["fontlink"];}else{echo "//fonts.googleapis.com/css?family=Roboto:300,400,500";}?>">
    <link rel="shortcut icon" href="img/favicon.ico">
    <link href="css/bootstrap.css?id=466cc11b1d87a55b5ce9" rel="stylesheet">
    <link href="css/style.css?id=4631423c2a2089a7b593" rel="stylesheet">
    <!--<link href="css/fonts.css?id=8fba8ed2ac648afc4cdd" rel="stylesheet">-->
    <script src="https://kit.fontawesome.com/a06f79fd00.js" crossorigin="anonymous"></script>
    <style type="text/css">
        body{font-family: '<?php echo $row["fontlink"];?>';}
        h1{font-family: '<?php echo $row["fontlink"];?>';}
        h2{font-family: '<?php echo $row["fontlink"];?>';}
        h3{font-family: '<?php echo $row["fontlink"];?>';}
        h4{font-family: '<?php echo $row["fontlink"];?>';}
    </style>

    </head>
<body>

<div class="page">
    <?php include("head.php");?>

        <section class="section-lg bg-default section-decoration-2">
        <div class="container">
            <div class="row row-30 align-items-lg-center justify-content-center">
                <div class="col-lg-6 text-center d-none d-sm-block">
                    <div class="animate-box">
                        <div class="wow slideInLeft" data-wow-delay="0.2s"><img src="images/iosinstalls/login.png" alt="" width="499" height="550"/>
                        </div>
                    </div>
                </div>
                <div class="col-lg-6">
                    <div class="box-contact-form wow fadeIn" data-wow-delay="0.2s">
                        <h3 class="wow slideInLeft">Login</h3>
                        <form class="rd-form rd-subscribe-form" data-form-output="form-output-global" data-form-type="contact" method="post" action="checklogin.php">
                            <input type="hidden" name="_token" value="xDDVDXGIvtuAGO4EY3Lklzs0eF3ukJI6mWfDN2wA">
                            <div class="row row-20">
                                <div class="col-12">
                                    <div class="form-wrap">
                                        <input class="form-input" id="email" type="text" name="email" data-constraints="@Email" value="">
                                                                                <label class="form-label" for="email">Your E-mail</label>
                                    </div>
                                </div>
                                <div class="col-12">
                                    <div class="form-wrap">
                                        <input class="form-input" id="password" type="password" name="password" data-constraints="@Required">
                                                                                <label class="form-label" for="password">Password</label>
                                    </div>
                                </div>
                                <div class="col-12">
                                    <button class="button button-sm button-primary" type="submit">Login</button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <?php include("foot.php");?>
</div>
<script src="js/scripts.js?id=bf8080fef9a8a3688c96"></script>



</body>
</html>